<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title><%=til%></title>
  <style>
    .fileContainer {
      overflow: hidden;
      position: relative;
      background: #09f;
      border-radius: .5em;
      float: left;
      padding: .5em;
    }

    .fileContainer [type=file] {
      display: block;
      font-size: 999px;
      filter: alpha(opacity=0);
      min-height: 100%;
      min-width: 100%;
      opacity: 0;
      position: absolute;
      right: 0;
      text-align: right;
      top: 0;
      cursor: pointer;
    }
  </style>
</head>

<body>
  <form name="upload" method="post" action="/upload" enctype="multipart/form-data">
    <label class="fileContainer">
      上传
      <input type="file" name="file" accept="jpg, gif, png" />
    </label>

    <input type="submit" value="提交">
  </form>
</body>

</html>